home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / B-C / Control Panel 0.9.5.sit / Control Panel Project 0.9.5 / SharedData.h < prev    next >
MacBinary  |  1994-10-06  |  2.5 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: SharedData.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Thu Oct 6 01:36:24 1994, modified Thu Oct 6 01:36:24 1994, creator Think C, type ASCII, 1947 bytes "SharedData.h" , at 0x81b 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 53 68 61 72 65 64 | 44 61 74 61 2e 68 00 00 |..Shared|Data.h..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 07 9b 00 | 00 01 7e aa b9 3d 58 aa |........|..~..=X.|
|00000060| b9 3d 58 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.=X.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f3 0f 00 00 |........|........|
|00000080| 2f 2a 0d 09 53 68 61 72 | 65 64 44 61 74 61 2e 68 |/*..Shar|edData.h|
|00000090| 0d 09 0d 09 44 61 74 61 | 20 73 74 72 75 63 74 75 |....Data| structu|
|000000a0| 72 65 20 73 68 61 72 65 | 64 20 62 79 20 74 68 65 |re share|d by the|
|000000b0| 20 65 78 74 65 6e 73 69 | 6f 6e 20 61 6e 64 20 74 | extensi|on and t|
|000000c0| 68 65 20 70 61 74 63 68 | 20 63 6f 64 65 2e 0d 2a |he patch| code..*|
|000000d0| 2f 0d 0d 2f 2a 20 54 68 | 69 73 20 69 73 20 61 20 |/../* Th|is is a |
|000000e0| 73 74 72 75 63 74 20 74 | 68 61 74 20 74 68 65 20 |struct t|hat the |
|000000f0| 73 68 61 72 65 64 20 64 | 61 74 61 20 68 6f 6c 64 |shared d|ata hold|
|00000100| 73 20 61 20 68 61 6e 64 | 6c 65 20 74 6f 20 2a 2f |s a hand|le to */|
|00000110| 0d 0d 74 79 70 65 64 65 | 66 20 73 74 72 75 63 74 |..typede|f struct|
|00000120| 20 7b 0d 09 42 6f 6f 6c | 65 61 6e 09 09 4f 6e 3b | {..Bool|ean..On;|
|00000130| 09 09 09 2f 2a 20 49 73 | 20 74 68 65 20 65 78 74 |.../* Is| the ext|
|00000140| 65 6e 73 69 6f 6e 20 22 | 6f 6e 22 20 6f 72 20 22 |ension "|on" or "|
|00000150| 6f 66 66 22 3f 20 2a 2f | 0d 09 42 6f 6f 6c 65 61 |off"? */|..Boolea|
|00000160| 6e 09 09 53 68 6f 77 49 | 63 6f 6e 3b 09 2f 2a 20 |n..ShowI|con;./* |
|00000170| 53 68 6f 77 20 69 63 6f | 6e 20 61 74 20 73 74 61 |Show ico|n at sta|
|00000180| 72 74 75 70 3f 20 2a 2f | 0d 7d 20 43 50 70 72 65 |rtup? */|.} CPpre|
|00000190| 66 73 53 74 72 75 63 74 | 2c 20 2a 43 50 70 72 65 |fsStruct|, *CPpre|
|000001a0| 66 73 50 74 72 2c 20 2a | 2a 43 50 70 72 65 66 73 |fsPtr, *|*CPprefs|
|000001b0| 48 61 6e 64 6c 65 3b 0d | 0d 2f 2a 20 54 68 69 73 |Handle;.|./* This|
|000001c0| 20 69 73 20 74 68 65 20 | 61 63 74 75 61 6c 20 73 | is the |actual s|
|000001d0| 68 61 72 65 64 20 64 61 | 74 61 20 73 74 72 75 63 |hared da|ta struc|
|000001e0| 74 75 72 65 20 2a 2f 0d | 0d 74 79 70 65 64 65 66 |ture */.|.typedef|
|000001f0| 20 73 74 72 75 63 74 20 | 7b 0d 0d 09 42 6f 6f 6c | struct |{...Bool|
|00000200| 65 61 6e 09 09 69 6e 55 | 73 65 3b 09 09 09 2f 2a |ean..inU|se;.../*|
|00000210| 20 54 68 69 73 20 73 68 | 6f 75 6c 64 20 62 65 20 | This sh|ould be |
|00000220| 73 65 74 20 74 6f 20 74 | 72 75 65 20 77 68 65 6e |set to t|rue when|
|00000230| 20 61 20 70 69 65 63 65 | 20 6f 66 20 63 6f 64 65 | a piece| of code|
|00000240| 20 2a 2f 0d 09 09 09 09 | 09 09 09 09 2f 2a 20 69 | */.....|..../* i|
|00000250| 73 20 75 73 69 6e 67 20 | 74 68 65 20 64 61 74 61 |s using |the data|
|00000260| 20 73 74 72 75 63 74 75 | 72 65 2c 20 74 68 65 6e | structu|re, then|
|00000270| 20 62 61 63 6b 20 74 6f | 20 66 61 6c 73 65 20 2a | back to| false *|
|00000280| 2f 0d 09 09 09 09 09 09 | 09 09 2f 2a 20 77 68 65 |/.......|../* whe|
|00000290| 6e 20 69 74 27 73 20 74 | 68 72 6f 75 67 68 2e 20 |n it's t|hrough. |
|000002a0| 20 45 61 63 68 20 70 69 | 65 63 65 20 6f 66 20 63 | Each pi|ece of c|
|000002b0| 6f 64 65 20 74 68 61 74 | 20 20 20 20 20 2a 2f 0d |ode that| */.|
|000002c0| 09 09 09 09 09 09 09 09 | 2f 2a 20 61 63 63 65 73 |........|/* acces|
|000002d0| 73 65 73 20 74 68 65 20 | 73 74 72 75 63 74 75 72 |ses the |structur|
|000002e0| 65 20 73 68 6f 75 6c 64 | 20 77 61 69 74 20 75 6e |e should| wait un|
|000002f0| 74 69 6c 20 74 68 65 20 | 20 20 20 2a 2f 0d 09 09 |til the | */...|
|00000300| 09 09 09 09 09 09 2f 2a | 20 66 6c 61 67 20 69 73 |....../*| flag is|
|00000310| 20 66 61 6c 73 65 20 62 | 65 66 6f 72 65 20 75 73 | false b|efore us|
|00000320| 69 6e 67 20 74 68 65 20 | 64 61 74 61 20 73 74 72 |ing the |data str|
|00000330| 75 63 74 75 72 65 2e 20 | 20 2a 2f 0d 0d 09 2f 2a |ucture. | */.../*|
|00000340| 20 56 61 72 69 61 62 6c | 65 73 20 75 73 65 64 20 | Variabl|es used |
|00000350| 62 79 20 74 68 65 20 54 | 72 61 70 20 50 61 74 63 |by the T|rap Patc|
|00000360| 68 20 2a 2f 0d 09 0d 09 | 55 6e 69 76 65 72 73 61 |h */....|Universa|
|00000370| 6c 50 72 6f 63 50 74 72 | 09 6f 6c 64 54 72 61 70 |lProcPtr|.oldTrap|
|00000380| 3b 2f 2a 20 61 64 64 72 | 20 6f 66 20 6f 6c 64 20 |;/* addr| of old |
|00000390| 74 72 61 70 20 72 6f 75 | 74 69 6e 65 20 28 62 65 |trap rou|tine (be|
|000003a0| 66 6f 72 65 20 6f 75 72 | 20 70 61 74 63 68 29 20 |fore our| patch) |
|000003b0| 2a 2f 0d 09 6c 6f 6e 67 | 09 09 70 61 72 61 6d 42 |*/..long|..paramB|
|000003c0| 79 74 65 73 3b 09 09 2f | 2a 20 68 6f 77 20 6d 61 |ytes;../|* how ma|
|000003d0| 6e 79 20 62 79 74 65 73 | 20 74 61 6b 65 6e 20 75 |ny bytes| taken u|
|000003e0| 70 20 62 79 20 70 61 72 | 61 6d 65 74 65 72 73 20 |p by par|ameters |
|000003f0| 2a 2f 0d 09 6c 6f 6e 67 | 09 09 72 65 74 75 72 6e |*/..long|..return|
|00000400| 42 79 74 65 73 3b 09 2f | 2a 20 68 6f 77 20 6d 61 |Bytes;./|* how ma|
|00000410| 6e 79 20 62 79 74 65 73 | 20 74 61 6b 65 6e 20 62 |ny bytes| taken b|
|00000420| 79 20 72 65 74 75 72 6e | 20 76 61 6c 75 65 20 28 |y return| value (|
|00000430| 63 61 6e 20 62 65 20 30 | 29 20 2a 2f 0d 09 0d 09 |can be 0|) */....|
|00000440| 2f 2a 20 56 61 72 69 61 | 62 6c 65 73 20 75 73 65 |/* Varia|bles use|
|00000450| 64 20 62 79 20 74 68 65 | 20 45 78 74 65 6e 73 69 |d by the| Extensi|
|00000460| 6f 6e 20 61 6e 64 20 43 | 6f 6e 74 72 6f 6c 20 50 |on and C|ontrol P|
|00000470| 61 6e 65 6c 20 2a 2f 0d | 09 0d 09 6c 6f 6e 67 09 |anel */.|...long.|
|00000480| 09 63 68 65 63 6b 56 61 | 6c 75 65 3b 09 09 2f 2a |.checkVa|lue;../*|
|00000490| 20 73 65 74 20 62 79 20 | 65 78 74 65 6e 73 69 6f | set by |extensio|
|000004a0| 6e 2c 20 74 68 65 6e 20 | 63 68 65 63 6b 65 64 20 |n, then |checked |
|000004b0| 62 79 20 63 64 65 76 20 | 74 6f 20 6d 61 6b 65 20 |by cdev |to make |
|000004c0| 2a 2f 0d 09 09 09 09 09 | 09 09 09 2f 2a 20 73 75 |*/......|.../* su|
|000004d0| 72 65 20 65 78 74 65 6e | 73 69 6f 6e 20 6c 6f 61 |re exten|sion loa|
|000004e0| 64 65 64 20 61 74 20 73 | 74 61 72 74 75 70 20 74 |ded at s|tartup t|
|000004f0| 69 6d 65 2e 20 2a 2f 0d | 09 42 6f 6f 6c 65 61 6e |ime. */.|.Boolean|
|00000500| 09 09 70 61 74 63 68 65 | 64 3b 09 09 2f 2a 20 77 |..patche|d;../* w|
|00000510| 61 73 20 74 68 65 20 70 | 61 74 63 68 20 69 6e 73 |as the p|atch ins|
|00000520| 74 61 6c 6c 65 64 3f 20 | 2a 2f 0d 09 0d 09 2f 2a |talled? |*/..../*|
|00000530| 20 56 61 72 69 61 62 6c | 65 73 20 75 73 65 64 20 | Variabl|es used |
|00000540| 62 79 20 74 68 65 20 43 | 6f 6e 74 72 6f 6c 20 50 |by the C|ontrol P|
|00000550| 61 6e 65 6c 20 2a 2f 0d | 09 0d 09 44 69 61 6c 6f |anel */.|...Dialo|
|00000560| 67 50 74 72 09 43 50 64 | 69 61 6c 6f 67 50 74 72 |gPtr.CPd|ialogPtr|
|00000570| 3b 09 2f 2a 20 61 20 70 | 6f 69 6e 74 65 72 20 74 |;./* a p|ointer t|
|00000580| 6f 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 20 70 61 |o the co|ntrol pa|
|00000590| 6e 65 6c 20 64 69 61 6c | 6f 67 20 2a 2f 0d 09 73 |nel dial|og */..s|
|000005a0| 68 6f 72 74 09 09 43 50 | 69 74 65 6d 73 3b 09 09 |hort..CP|items;..|
|000005b0| 2f 2a 20 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 |/* numbe|r of ite|
|000005c0| 6d 73 20 69 6e 20 74 68 | 65 20 64 69 61 6c 6f 67 |ms in th|e dialog|
|000005d0| 20 2a 2f 0d 09 43 50 70 | 72 65 66 73 48 61 6e 64 | */..CPp|refsHand|
|000005e0| 6c 65 09 43 50 70 72 65 | 66 73 52 73 72 63 3b 09 |le.CPpre|fsRsrc;.|
|000005f0| 2f 2a 20 68 61 6e 64 6c | 65 20 74 6f 20 61 20 70 |/* handl|e to a p|
|00000600| 72 65 66 73 20 73 74 72 | 75 63 74 20 28 73 61 76 |refs str|uct (sav|
|00000610| 65 64 20 61 73 20 61 20 | 72 65 73 6f 75 72 63 65 |ed as a |resource|
|00000620| 29 20 2a 2f 0d 09 42 6f | 6f 6c 65 61 6e 09 09 43 |) */..Bo|olean..C|
|00000630| 50 6f 6e 3b 09 09 09 2f | 2a 20 69 73 20 74 68 65 |Pon;.../|* is the|
|00000640| 20 63 6f 6e 74 72 6f 6c | 20 70 61 6e 65 6c 20 66 | control| panel f|
|00000650| 75 6e 63 74 69 6f 6e 20 | 6f 6e 20 6f 72 20 6f 66 |unction |on or of|
|00000660| 66 3f 20 2a 2f 0d 09 0d | 09 2f 2a 20 4d 65 6d 6f |f? */...|./* Memo|
|00000670| 72 79 20 75 73 65 64 20 | 66 6f 72 20 6e 6f 74 69 |ry used |for noti|
|00000680| 66 69 63 61 74 69 6f 6e | 73 20 2a 2f 0d 09 0d 09 |fication|s */....|
|00000690| 4e 4d 52 65 63 09 09 09 | 6e 6d 3b 09 09 09 09 2f |NMRec...|nm;..../|
|000006a0| 2a 20 61 20 70 6f 69 6e | 74 65 72 20 74 6f 20 61 |* a poin|ter to a|
|000006b0| 20 4e 6f 74 69 66 69 63 | 61 74 69 6f 6e 20 4d 61 | Notific|ation Ma|
|000006c0| 6e 61 67 65 72 20 72 65 | 63 6f 72 64 20 2a 2f 0d |nager re|cord */.|
|000006d0| 09 53 74 72 32 35 35 09 | 09 09 73 74 72 3b 09 09 |.Str255.|..str;..|
|000006e0| 09 2f 2a 20 61 20 50 61 | 73 63 61 6c 20 73 74 72 |./* a Pa|scal str|
|000006f0| 69 6e 67 20 2a 2f 0d 09 | 0d 09 2f 2a 20 57 68 61 |ing */..|../* Wha|
|00000700| 74 65 76 65 72 20 6f 74 | 68 65 72 20 76 61 72 69 |tever ot|her vari|
|00000710| 61 62 6c 65 73 20 77 65 | 20 6e 65 65 64 20 74 6f |ables we| need to|
|00000720| 20 73 68 61 72 65 20 2a | 2f 0d 09 0d 09 09 0d 7d | share *|/......}|
|00000730| 20 6d 79 44 61 74 61 53 | 74 72 75 63 74 2c 20 2a | myDataS|truct, *|
|00000740| 6d 79 44 61 74 61 50 74 | 72 2c 20 2a 2a 6d 79 44 |myDataPt|r, **myD|
|00000750| 61 74 61 48 61 6e 64 6c | 65 3b 0d 0d 2f 2a 20 54 |ataHandl|e;../* T|
|00000760| 68 69 73 20 69 73 20 74 | 68 65 20 76 61 6c 75 65 |his is t|he value|
|00000770| 20 74 68 65 20 65 78 74 | 65 6e 73 69 6f 6e 20 70 | the ext|ension p|
|00000780| 75 74 73 20 69 6e 74 6f | 20 74 68 65 20 63 68 65 |uts into| the che|
|00000790| 63 6b 56 61 6c 75 65 20 | 66 69 65 6c 64 20 6f 66 |ckValue |field of|
|000007a0| 20 74 68 65 20 73 68 61 | 72 65 64 0d 20 2a 20 64 | the sha|red. * d|
|000007b0| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 20 61 6e |ata stru|cture an|
|000007c0| 64 20 74 68 61 74 20 74 | 68 65 20 63 6f 6e 74 72 |d that t|he contr|
|000007d0| 6f 6c 20 70 61 6e 65 6c | 20 63 68 65 63 6b 73 20 |ol panel| checks |
|000007e0| 66 6f 72 20 77 68 65 6e | 20 69 74 20 69 73 20 6f |for when| it is o|
|000007f0| 70 65 6e 65 64 2e 0d 20 | 2a 2f 0d 0d 23 64 65 66 |pened.. |*/..#def|
|00000800| 69 6e 65 20 6b 43 68 65 | 63 6b 56 61 6c 75 65 20 |ine kChe|ckValue |
|00000810| 30 78 31 32 33 34 31 32 | 33 34 0d 00 00 00 00 00 |0x123412|34......|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000890| 00 00 34 8e 5c 0a 00 03 | 81 77 06 00 00 00 00 00 |..4.\...|.w......|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 0c 53 68 61 72 65 64 44 | 61 74 61 2e 68 36 02 00 |.SharedD|ata.h6..|
|000008c0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000008d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 aa da 77 9a 00 00 | 00 00 00 00 01 7e 00 00 |....w...|.....~..|
|00000900| 34 8f 5c 26 00 01 81 76 | 06 00 00 00 00 00 00 00 |4.\&...v|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 31 00 00 |........|.....1..|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 aa ad c1 09 00 03 | 32 82 05 00 00 00 34 90 |........|2.....4.|
|00000970| 5c 6b 03 fb 81 7f 06 00 | 00 00 00 00 00 00 00 00 |\k......|........|
|00000980| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 06 | 00 04 00 2a 00 03 01 dd |........|...*....|
|000009b0| 02 7d 00 4c 00 18 01 d6 | 02 40 aa b8 f7 0a 00 00 |.}.L....|.@......|
|000009c0| 04 77 00 00 04 77 00 00 | 00 00 00 00 00 00 01 00 |.w...w..|........|
|000009d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 b3 2a e4 |...L...L|...2..*.|
|000009e0| 10 2a 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.*.....2|..MPSR..|
|000009f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 b3 2c 10 00 00 |........|....,...|
+--------+-------------------------+-------------------------+--------+--------+